<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<cw:base />
	</head>
	<body>
		<cw:form>
			<li>
				<b> 表单验证，失焦或者表单提交时会进行有效性验证 </b>
			</li>
			<li>
				<b> 类型验证，多用于text标签，设置validateType属性来实现，具体包含email(邮箱), zipcode(邮编), idcard(身份证), url(URL地址), account(账号) </b>
			</li>
			<br>
			<br>
				邮箱:
				<cw:text property="email" validateType="email" value="kiddy@sina" />
			<br>
				邮政编码:
				<cw:text property="zip" validateType="zipcode" value="20011" />
			<br>
				身份证号码:
				<cw:text property="idcard" validateType="idcard" value="310113196308270812" />
			<br>
				URL:
				<cw:text property="url" validateType="url" value="ww.163.com" />
			<br>
				账号:
				<cw:text property="account" validateType="account" value="@@1%" />
			<br>
		</cw:form>
	</body>
	<cw:theme></cw:theme>
</html>
